import instance from "@/api/axiosConfig";
import { file } from "../urls";

export default function uploadIcon(data) {
    return instance({
        url: file.uploadIconToOSS,
        method: "post",
        data: data,
        Headers: {
            "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
        },
    });
}
